listitemwidget: Lazily create listitems
authorBenjamin Otte <otte@redhat.com>
Sun, 3 Nov 2019 02:59:04 +0000 (03:59 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:46 +0000 (19:26 -0400)
commit9caca0b12778739436bfbb786113b730b8db096b
tree2a6bd254eaf893237d089d57b4c7e57822e04cad
parent9d86020d4c0846dd55216d770ecff9d91f04b48d
listitemwidget: Lazily create listitems

We only create them in root/unroot (they should be created in
appear/disappear, but that vfunc doesn't exist yet), that way we can
avoid expensive work while the widget isn't used for anything.
gtk/gtklistitemwidget.c
gtk/gtklistitemwidgetprivate.h